package com.tac.service.mes;

import com.github.pagehelper.PageInfo;
import com.tac.common.result.Result;
import com.tac.pojo.mes.Inspection;

import java.util.Date;
import java.util.List;

public interface InspectionService {

    //产品检验查询
    public Result<PageInfo<Inspection>> getList(Integer pageNum, Integer pageSize, String serialNumber, String completionOrder, String planNumber, String jobName,
                                                String materialName, String inspectionLot, Date produceDateStart, Date produceDateEnd,
                                                String inspectionItems, String inspectionResults, String inspector,
                                                Date inspectionTimeStart, Date inspectionTimeEnd);
    //产品检验添加
    public Result save(Inspection inspection);
    //产品检验删除
    public Result remove(List<Integer> ids);
    //产品检验更新
    public Result update(Inspection inspection);
}
